QuickOPC User's Guide and Reference
UAEnumTypeInfo Constructor(UAModelNodeDescriptor,UAQualifiedName,IEnumerable<UAEnumFieldInfo>,UABuiltInType)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema Namespace > UAEnumTypeInfo Class > UAEnumTypeInfo Constructor : UAEnumTypeInfo Constructor(UAModelNodeDescriptor,UAQualifiedName,IEnumerable<UAEnumFieldInfo>,UABuiltInType)
A model node descriptor of the data type ID of this data type.
The name of the data type.
Sequence of field infos that make up the enum data type.
Indicates if the data type is an enumeration or an option set, and the base type of the option set.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal dataTypeId As UAModelNodeDescriptor, _
   ByVal name As UAQualifiedName, _
   ByVal fieldInfos As IEnumerable(Of UAEnumFieldInfo), _
   ByVal builtInType As UABuiltInType _
)
'Usage
 
Dim dataTypeId As UAModelNodeDescriptor
Dim name As UAQualifiedName
Dim fieldInfos As IEnumerable(Of UAEnumFieldInfo)
Dim builtInType As UABuiltInType
 
Dim instance As New UAEnumTypeInfo(dataTypeId, name, fieldInfos, builtInType)

Parameters

dataTypeId
A model node descriptor of the data type ID of this data type.
name
The name of the data type.
fieldInfos
Sequence of field infos that make up the enum data type.
builtInType
Indicates if the data type is an enumeration or an option set, and the base type of the option set.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also